package com.lin.controller.vo;


import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @ClassName UserParams
 * @Description
 * @Author lin
 * @Date 2022/7/27 下午10:17
 * @Version V1.0
 */
@Data
public class UserParams {
    @Length(max = 5,min = 1,message = "姓名长度不符合")
    private String name;
    private String sex;
}
